package com.itheima.controller;

import com.itheima.pojo.Person;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiangjun.deng
 * email 17670934918dxj@sina.com
 * @date 2021-10-12 17:55
 * @desc
 */
@RestController
public class TestController {
    @RequestMapping("/testDate")
    public Person testDateFormat(@RequestBody Person person)
    {
        return person;
    }

}
